/*
 * Copyright (c) 2015 elion All Rights Reserved.
 */
package com.guoyu.project.common.constant;

import com.guoyu.project.common.utils.PropertyUtil;

/**
 * @author: xblibo Date: 2015/5/23 Time: 15:07
 */
public class Constants {
    /**
     * sql分页查询数据，记录开始位置
     */
    public static final String START_POSITION = "startPosition";
    /**
     * sql分页查询一次查询记录数
     */
    public static final String PAGE_SIZE = "pageSize";
    /**
     * 传到页面的分页对象属性值
     */
    public static final String PAGINATION = "pagination";

    /**
     * 管理员sessionId
     */
    public static final String MANAGER_SERSSION = "manager_session";

    /**
     * 微信用户sessionId
     */
    public static final String WECHAT_SERSSION = "wechat_session";

    /**
     * 登录token
     */
    public static final String ACCESS_TOKEN = "token";

    /**
     * 登录用户ID
     */
    public static final String USER_ID = "userId";
    /**
     * 用户名称
     */
    public static final String USER_NAME = "userName";
    /**
     * 用户登录密码
     */
    public static final String USER_PASSWD = "password";

    /**
     * 环境，dev、beta、prod
     */
    public final static String ENVIRONMENT = PropertyUtil.getProperty("environment");

    public final static String DOMAIN = PropertyUtil.getProperty("domain");

    public final static String NEWS_H5_PATH = "/app/news/%s.htm";
    /**
     * 多文件分割
     */
    public final static String MULTI_FILE_SPLIT = ";";

}
